﻿namespace CompactMapper.Orm.Contracts
{
    public interface IKeyedUnitOfWorkForRepository<T> : IUnitOfWorkForRepository<T>
        where T : IKeyedPersistent
    {
        T GetByKey(IKey key);
        void Delete(IKey key);
        void Delete(T keyedPersistent);
    }
}